package com.woniu.cinema.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 电影和影厅排片对象 tb_hall_movie
 *
 * @author yy
 * @date 2023-09-27
 */
public class HallMovie extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer hallMovieId;

    /** 电影id */
    @Excel(name = "电影id")
    private Integer movieId;

    /** 影厅id */
    @Excel(name = "影厅id")
    private Integer hallId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss" ,timezone = "GMT+8")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss",timezone = "GMT+8")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 票价 */
    @Excel(name = "票价")
    private Integer fareMoney;

    /** 电影院id */
    @Excel(name = "电影院id")
    private Integer cinemaId;

    public void setHallMovieId(Integer hallMovieId)
    {
        this.hallMovieId = hallMovieId;
    }

    public Integer getHallMovieId()
    {
        return hallMovieId;
    }
    public void setMovieId(Integer movieId)
    {
        this.movieId = movieId;
    }

    public Integer getMovieId()
    {
        return movieId;
    }
    public void setHallId(Integer hallId)
    {
        this.hallId = hallId;
    }

    public Integer getHallId()
    {
        return hallId;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setFareMoney(Integer fareMoney)
    {
        this.fareMoney = fareMoney;
    }

    public Integer getFareMoney()
    {
        return fareMoney;
    }
    public void setCinemaId(Integer cinemaId)
    {
        this.cinemaId = cinemaId;
    }

    public Integer getCinemaId()
    {
        return cinemaId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hallMovieId", getHallMovieId())
            .append("movieId", getMovieId())
            .append("hallId", getHallId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("fareMoney", getFareMoney())
            .append("cinemaId", getCinemaId())
            .toString();
    }
}
